import{_ as s,c as n,o as a,a4 as p}from"./chunks/framework.D4kqST2g.js";const v=JSON.parse('{"title":"框架概况","description":"","frontmatter":{},"headers":[],"relativePath":"src/frame/intro/intro.md","filePath":"src/frame/intro/intro.md","lastUpdated":1714466133000}'),l={name:"src/frame/intro/intro.md"},e=p(`<h1 id="框架概况" tabindex="-1">框架概况 <a class="header-anchor" href="#框架概况" aria-label="Permalink to &quot;框架概况&quot;">​</a></h1><h2 id="服务端目录结构" tabindex="-1">服务端目录结构 <a class="header-anchor" href="#服务端目录结构" aria-label="Permalink to &quot;服务端目录结构&quot;">​</a></h2><div class="language- vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki shiki-themes github-light github-dark vp-code"><code><span class="line"><span>sv-service</span></span>
<span class="line"><span>├─ uniCloud-aliyun       # uniCloud目录</span></span>
<span class="line"><span>│  ├─ cloudfunctions     # 云函数目录</span></span>
<span class="line"><span>│  │  ├─ common          # 公共模块</span></span>
<span class="line"><span>│  │  └─ ...             # 云对象</span></span>
<span class="line"><span>│  └─ database           # 数据库目录</span></span>
<span class="line"><span>│     └─ ...             # 数据库表及扩展</span></span>
<span class="line"><span>├─ api                   # api目录</span></span>
<span class="line"><span>│  ├─ test.js            # api文件</span></span>
<span class="line"><span>│  └─ ...</span></span>
<span class="line"><span>├─ pages                 # 页面目录</span></span>
<span class="line"><span>│  ├─ index</span></span>
<span class="line"><span>│  │  └─ index.vue</span></span>
<span class="line"><span>│  └─ ...</span></span>
<span class="line"><span>├─ static                # 静态资源目录</span></span>
<span class="line"><span>│  ├─ logo.png</span></span>
<span class="line"><span>│  └─ ...</span></span>
<span class="line"><span>├─ uni_modules           # uni_modules目录，所有插件模块</span></span>
<span class="line"><span>│  ├─ sv-configs</span></span>
<span class="line"><span>│  ├─ sv-system</span></span>
<span class="line"><span>│  ├─ sv-id-pages</span></span>
<span class="line"><span>│  ├─ sv-id-vip</span></span>
<span class="line"><span>│  └─ ...</span></span>
<span class="line"><span>├─ .gitignore            # git忽略文件</span></span>
<span class="line"><span>├─ App.vue</span></span>
<span class="line"><span>├─ index.html</span></span>
<span class="line"><span>├─ main.js</span></span>
<span class="line"><span>├─ manifest.json</span></span>
<span class="line"><span>├─ pages.json            # 页面配置文件</span></span>
<span class="line"><span>├─ README.md</span></span>
<span class="line"><span>├─ uni.promisify.adaptor.js</span></span>
<span class="line"><span>└─ uni.scss              # 全局scss变量</span></span></code></pre></div><h2 id="客户端目录结构" tabindex="-1">客户端目录结构 <a class="header-anchor" href="#客户端目录结构" aria-label="Permalink to &quot;客户端目录结构&quot;">​</a></h2><div class="language- vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki shiki-themes github-light github-dark vp-code"><code><span class="line"><span>sv-client</span></span>
<span class="line"><span>├─ uniCloud-aliyun       # uniCloud目录</span></span>
<span class="line"><span>│  ├─ cloudfunctions     # 云函数目录</span></span>
<span class="line"><span>│  │  ├─ common          # 公共模块</span></span>
<span class="line"><span>│  │  └─ ...             # 云对象</span></span>
<span class="line"><span>│  └─ database           # 数据库目录</span></span>
<span class="line"><span>│     └─ ...             # 数据库表及扩展</span></span>
<span class="line"><span>├─ api                   # api目录</span></span>
<span class="line"><span>│  ├─ test.js            # api文件</span></span>
<span class="line"><span>│  └─ ...</span></span>
<span class="line"><span>├─ components            # 组件目录</span></span>
<span class="line"><span>│  ├─ sv-page</span></span>
<span class="line"><span>│  ├─ sv-tab-bar</span></span>
<span class="line"><span>│  ├─ sv-nav-bar</span></span>
<span class="line"><span>│  └─ ...</span></span>
<span class="line"><span>├─ node_modules          # node_modules目录，npm依赖包存放位置</span></span>
<span class="line"><span>│  └─ ...</span></span>
<span class="line"><span>├─ pages                 # 页面目录</span></span>
<span class="line"><span>│  ├─ index</span></span>
<span class="line"><span>│  │  └─ index.vue</span></span>
<span class="line"><span>│  └─ ...</span></span>
<span class="line"><span>├─ router                # 此处并非vue-router目录，而是存放的对pages页面路由进行相关处理的文件</span></span>
<span class="line"><span>│  ├─ page-router.js     # 对pages.json路由表进行匹配处理的方法，以数组形式返回项目路由，通常开发无需使用到此文件</span></span>
<span class="line"><span>│  └─ ...</span></span>
<span class="line"><span>├─ static                # 静态资源目录</span></span>
<span class="line"><span>│  ├─ logo.png           # 客户端logo</span></span>
<span class="line"><span>│  └─ ...</span></span>
<span class="line"><span>├─ store                 # pinia状态仓库目录</span></span>
<span class="line"><span>│  ├─ sys.js             # 系统仓库</span></span>
<span class="line"><span>│  ├─ svid.js            # 用户仓库</span></span>
<span class="line"><span>│  └─ ...</span></span>
<span class="line"><span>├─ uni_modules           # uni_modules目录，所有插件模块</span></span>
<span class="line"><span>│  ├─ sv-configs</span></span>
<span class="line"><span>│  ├─ sv-system</span></span>
<span class="line"><span>│  ├─ sv-id-pages</span></span>
<span class="line"><span>│  ├─ sv-id-vip</span></span>
<span class="line"><span>│  ├─ sv-style</span></span>
<span class="line"><span>│  └─ ...</span></span>
<span class="line"><span>├─ utils                 # 工具类目录</span></span>
<span class="line"><span>│  ├─ pinia-storage.js   # 对pinia仓库集中处理方法</span></span>
<span class="line"><span>│  ├─ preprocess.js      # App启动预处理</span></span>
<span class="line"><span>│  ├─ sys.js             # 系统工具方法</span></span>
<span class="line"><span>│  ├─ util.js            # 常用工具方法</span></span>
<span class="line"><span>│  └─ ...</span></span>
<span class="line"><span>├─ unpackage             # 打包目录</span></span>
<span class="line"><span>│  └─ ...</span></span>
<span class="line"><span>├─ .gitignore            # git忽略文件</span></span>
<span class="line"><span>├─ App.vue</span></span>
<span class="line"><span>├─ client.config.js      # 客户端配置文件</span></span>
<span class="line"><span>├─ index.html</span></span>
<span class="line"><span>├─ main.js</span></span>
<span class="line"><span>├─ manifest.json</span></span>
<span class="line"><span>├─ package.json          # node依赖包配置文件</span></span>
<span class="line"><span>├─ pages.json            # 页面配置文件</span></span>
<span class="line"><span>├─ README.md</span></span>
<span class="line"><span>├─ uni.promisify.adaptor.js</span></span>
<span class="line"><span>└─ uni.scss              # 全局scss变量</span></span></code></pre></div><h2 id="管理端目录结构" tabindex="-1">管理端目录结构 <a class="header-anchor" href="#管理端目录结构" aria-label="Permalink to &quot;管理端目录结构&quot;">​</a></h2><div class="language- vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki shiki-themes github-light github-dark vp-code"><code><span class="line"><span>sv-admin</span></span>
<span class="line"><span>├─ uniCloud-aliyun       # uniCloud目录</span></span>
<span class="line"><span>│  ├─ cloudfunctions     # 云函数目录</span></span>
<span class="line"><span>│  │  ├─ common          # 公共模块</span></span>
<span class="line"><span>│  │  └─ ...             # 云对象</span></span>
<span class="line"><span>│  └─ database           # 数据库目录</span></span>
<span class="line"><span>│     └─ ...             # 数据库表及扩展</span></span>
<span class="line"><span>├─ api                   # api目录</span></span>
<span class="line"><span>│  ├─ test.js            # api文件</span></span>
<span class="line"><span>│  └─ ...</span></span>
<span class="line"><span>├─ components            # 组件目录</span></span>
<span class="line"><span>│  └─ ...</span></span>
<span class="line"><span>├─ layout                # 布局目录，顶部导航栏+左侧菜单栏+主内容布局</span></span>
<span class="line"><span>│  └─ ...</span></span>
<span class="line"><span>├─ node_modules          # node_modules目录，npm依赖包存放位置</span></span>
<span class="line"><span>│  └─ ...</span></span>
<span class="line"><span>├─ pages                 # 页面目录</span></span>
<span class="line"><span>│  ├─ index</span></span>
<span class="line"><span>│  │  └─ index.vue</span></span>
<span class="line"><span>│  └─ ...</span></span>
<span class="line"><span>├─ router                # 此处并非vue-router目录，而是存放的对pages页面路由进行相关处理的文件</span></span>
<span class="line"><span>│  ├─ route-watcher.js   # 全局路由监听者，包含页面路由鉴权规则，可以在此配置只对特定角色或权限开放页面</span></span>
<span class="line"><span>│  └─ ...</span></span>
<span class="line"><span>├─ static                # 静态资源目录</span></span>
<span class="line"><span>│  ├─ logo.png           # 管理端logo</span></span>
<span class="line"><span>│  ├─ favicon.ico        # 管理端favicon</span></span>
<span class="line"><span>│  └─ ...</span></span>
<span class="line"><span>├─ store                 # pinia状态仓库目录</span></span>
<span class="line"><span>│  ├─ sys.js             # 系统仓库</span></span>
<span class="line"><span>│  ├─ svid.js            # 用户仓库</span></span>
<span class="line"><span>│  ├─ nav.js             # 导航栏历史仓库</span></span>
<span class="line"><span>│  └─ ...</span></span>
<span class="line"><span>├─ uni_modules           # uni_modules目录，所有插件模块</span></span>
<span class="line"><span>│  ├─ sv-configs</span></span>
<span class="line"><span>│  ├─ sv-system</span></span>
<span class="line"><span>│  ├─ sv-id-pages</span></span>
<span class="line"><span>│  ├─ sv-id-vip</span></span>
<span class="line"><span>│  ├─ sv-style</span></span>
<span class="line"><span>│  └─ ...</span></span>
<span class="line"><span>├─ utils                 # 工具类目录</span></span>
<span class="line"><span>│  ├─ pinia-storage.js   # 对pinia仓库集中处理方法</span></span>
<span class="line"><span>│  ├─ preprocess.js      # App启动预处理</span></span>
<span class="line"><span>│  ├─ sys.js             # 系统工具方法</span></span>
<span class="line"><span>│  ├─ util.js            # 常用工具方法</span></span>
<span class="line"><span>│  ├─ verification.js    # 表单验证规则</span></span>
<span class="line"><span>│  └─ ...</span></span>
<span class="line"><span>├─ unpackage             # 打包目录</span></span>
<span class="line"><span>│  └─ ...</span></span>
<span class="line"><span>├─ .gitignore            # git忽略文件</span></span>
<span class="line"><span>├─ App.vue</span></span>
<span class="line"><span>├─ client.config.js      # 客户端配置文件</span></span>
<span class="line"><span>├─ index.html</span></span>
<span class="line"><span>├─ main.js</span></span>
<span class="line"><span>├─ manifest.json</span></span>
<span class="line"><span>├─ package.json          # node依赖包配置文件</span></span>
<span class="line"><span>├─ pages.json            # 页面配置文件</span></span>
<span class="line"><span>├─ README.md</span></span>
<span class="line"><span>├─ uni.promisify.adaptor.js</span></span>
<span class="line"><span>└─ uni.scss              # 全局scss变量</span></span></code></pre></div>`,7),i=[e];function c(o,t,d,r,u,g){return a(),n("div",null,i)}const h=s(l,[["render",c]]);export{v as __pageData,h as default};
